package org.example.proxy.cglib;

import org.example.proxy.anon.NoProxy;

import java.io.Serializable;
import java.util.Random;

/**
 * @author : RXK
 * Date : 2021/6/2 16:48
 * Code Less Think More
 * Desc:
 */
public class HelloService implements Serializable {


    public String name(String param) {
        System.out.println(param);
        return param + new Random(10);
    }

    public int age() {
        return 0;
    }

    @NoProxy
    public void noProxy() {
        System.out.println("11111111111111111111111111111111111我没有被代理");
    }
}
